package messages;


/**
 * UserLoggedOut message
 * 
 * The logout message is sent by the server when 
 * some players quits.
 */
public class UserLoggedOutMessage extends Message {
	private static final long serialVersionUID = 1L;
	
	public UserLoggedOutMessage(String playerLogin) {
		super();
		
		this.playerLogin = playerLogin;
	}
	
	
	public String getPlayerLogin() {
		return this.playerLogin;
	}
	
	@Override
	public String toString() {
		return super.toString() + "(" + this.playerLogin + ") ";
	}
	
	private String playerLogin; 	// The player who just logged out
}
